<template>
  <div class="recomment">
    <div v-for="item in recomment" class="recomment-item">
      <a :href="item.link">
        <img :src="item.image">
        <div>{{item.title}}</div>

      </a>
    </div>
  </div>
</template>

<script>
  export default {
    name: "HomeRecomment",
    props: {
      recomment: {
        type: Array,
        default: []
      }
    }
  }
</script>

<style scoped>
.recomment{
  display: flex;
  font-size: 14px;
  text-align: center;
  border-bottom: 9px solid pink;
  width: 100%;
}
.recomment-item{
  flex: 1;
  padding: 20px 0 30px 0;

}
  .recomment img{
    width: 70px;
  }
</style>